.dd-cart {
  .dd-cart-nav {
    display: flex;
    z-index: 5;
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto;
    overflow: hidden;
    width: 100%;
    line-height: 1.173333rem;
    color: #333;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-bottom: 1px solid #d8d8d8;

    .iconfont.icon-19 {
      z-index: 2;
      position: absolute;
      top: 0;
      right: 0;
      width: 1.066667rem;
      height: 1.173333rem;
      background-size: 0.586667rem;
      line-height: 1.173333rem;
      font-size: 0.373333rem;
    }

    .icon-cha {
      color: red;
      font-size: 0.426667rem;
      z-index: 2;
      position: absolute;
      top: 0;
      right: 0;
      width: 1.066667rem;
      height: 1.173333rem;
      background-size: 0.586667rem;
      line-height: 1.173333rem;
    }
  }

  .dd-cart-tabbar {
    width: 100%;
    height: 0;
    overflow: hidden;
    transition: height 0.4s;
  }

  .active {
    height: 1.333333rem;
    transition: height 0.4s;
  }

  .dd-cart-content {
    height: calc(100vh - 1.173333rem);
    overflow-y: scroll;

    .cart-goods {
      background-color: #fff;

      .cart-goods-list {
        border-bottom: 1px solid #eee;

        .list-shop-title {
          height: 1.066667rem;
          display: flex;
          line-height: 1.066667rem;
          border-bottom: 1px solid #eee;
          text-align: center;
          padding-left: 0.266667rem;

          .am-checkbox.am-checkbox-checked .am-checkbox-inner {
            border-color: var(--themeColor);
            background: var(--themeColor);
          }

          .icon-dangdangwang {
            flex: 1;
            font-size: 0.586667rem;
            color: red;
            // padding-left: 0.266667rem;
          }

          p {
            flex: 3;
            font-size: 0.426667rem;
            color: #bbb;
            padding-left: 0.266667rem;
          }

          span {
            text-align: right;
            flex: 5;
            font-size: 0.426667rem;
            color: #aaa;
            padding-right: 0.266667rem;
          }
        }

        .cart-goods-content {
          display: flex;
          margin-top: 1px;
          border-bottom: 1px solid #fafafa;
          align-items: center;
          height: 3.306667rem;

          .content-left {
            flex: 1;
            text-align: center;

            .am-checkbox.am-checkbox-checked .am-checkbox-inner {
              border-color: var(--themeColor);
              background: var(--themeColor);
            }
          }

          .content-mid {
            flex: 2;

            img {
              width: 2.8rem;
              height: 2.8rem;
            }
          }

          .content-right {
            flex: 3;
            display: flex;
            flex-direction: column;

            p {
              width: 100%;
              height: 1.013333rem;
              font-size: 0.373333rem;
              line-height: 0.533333rem;
              color: #323232;
              word-wrap: break-word;
              overflow: hidden;
            }

            em {
              i {
                font-size: 0.426667rem;
                color: #ff2832;
              }
            }

            .flag {
              background-color: #ff5753;
              color: #fff;
              width: 1.173333rem;
              height: 0.533333rem;
              padding: 0.053333rem;
              text-align: center;
              margin: 0.133333rem 0;
            }

            .content-right-bottom {
              display: flex;
              justify-content: space-between;

              .goodsNum {
                font-size: 0.373333rem;
              }

              .icon-bianji {
                font-size: 0.64rem;
                padding: 0 0.293333rem 0.266667rem 0;
              }
            }
          }
        }

        .edit-goods-content {
          display: flex;
          margin-top: 1px;
          border-bottom: 1px solid #fafafa;
          align-items: center;
          height: 3.306667rem;

          .edit-left {
            flex: 2;
            margin-left: 0.533333rem;

            img {
              width: 2.8rem;
              height: 2.8rem;
            }
          }

          .edit-right {
            flex: 5;
            display: flex;
            text-align: center;

            .caclNum {
              flex: 3;
              display: flex;
              justify-content: center;
              align-items: center;

              i {
                font-size: 0.906667rem;
              }

              .num {
                width: 0.8rem;
                height: 0.8rem;
                border: 1px solid #aaa;
                text-align: center;
                line-height: 0.8rem;
                font-size: 0.373333rem;
                margin: 0 0.133333rem 0 0.133333rem;
              }
            }

            .del {
              flex: 1;
              height: 3.28rem;
              text-align: center;
              line-height: 3.28rem;
              color: #fff;
              background-color: #ff4650;
            }
          }
        }
      }
    }

    .cart-goods-total {
      display: flex;
      background-color: #fff;
      background-size: 100%;
      position: fixed;
      width: 100%;
      bottom: 0px;
      border-top: 1px solid #e6e6e6;
      height: 1.466667rem;
      line-height: 1.466667rem;
      align-items: center;

      .total-left {
        flex: 1;
        text-align: center;
        margin-bottom: 0.16rem;

        .am-checkbox-checked .am-checkbox-inner {
          border-color: var(--themeColor);
          background: var(--themeColor);
        }

        .quanxuan {
          display: inline-block;
          color: #ccc;
          font-size: 0.48rem;
          padding-left: 0.266667rem;
          margin-top: 0.20rem;
        }
      }

      .total-mid {
        flex: 2;
        text-align: center;

        .sum {
          font-size: 0.426667rem;
          padding-left: 0.133333rem;
        }

        em {
          padding-left: 0.266667rem;

          i {
            font-size: 0.426667rem;
            color: #ff2832;
            font-weight: bold;
          }
        }
      }

      .total-right {
        flex: 1;
        font-size: 0.426667rem;
        text-align: center;

        .text3 {
          width: 2.666667rem;
          height: 100%;
          color: white;
          display: flex;
          align-items: center;
          justify-content: center;
          background-color: var(--themeColor);
        }

        .text5 {
          width: 2.666667rem;
          height: 100%;
          color: white;
          display: flex;
          align-items: center;
          justify-content: center;
          background-color: #ddd;
        }
      }
    }

    .cart-empty {
      background-color: #f2f2f2 !important;
      width: 100%;
      padding-bottom: 0.586667rem;
      background-size: 14.1rem 11.7rem;
      border-bottom: solid 1px #EBEBEB;
      display: flex;
      flex-direction: column;
      text-align: center;
      justify-content: center;
      align-items: center;

      img {
        flex: 4;
        padding-top: 0.8rem;
        display: inline-block;
        text-align: center;
        width: 5.333333rem;
      }

      p {
        flex: 1;
        display: inline-block;
        width: 100%;
        line-height: 0.853333rem;
        color: #777;
        font-size: 0.373333rem;
        text-align: center;
      }

      .cart-introduce {
        flex: 2;
        display: flex;
        width: 100%;
        height: 1.066667rem;
        line-height: 1.066667rem;
        text-align: center;
        justify-content: center;

        .introduce-left {

          width: 3.306667rem;
          height: 1.013333rem;
          line-height: 1.013333rem;
          border: 0.026667rem solid #777;
          border-radius: 6px;
          color: #777;
          font-size: 0.48rem;
          text-align: center;
          margin: 0 0.266667rem;
        }

        .introduce-right {
          width: 3.306667rem;
          height: 1.013333rem;
          line-height: 1.013333rem;
          border: 0.026667rem solid #777;
          border-radius: 6px;
          color: #777;
          font-size: 0.48rem;
          text-align: center;
          margin: 0 0.266667rem;
        }
      }
    }

    .cart-maylike {
      width: 100%;
      min-height: 100%;
      overflow: scroll;
      text-align: center;
      padding-bottom: 5px;

      .maylike-title {
        height: 0.586667rem;
        font-weight: 600;
        color: #ccc;
        margin: 0.4rem 0;

        em {
          padding: 0 0.266667rem;

          .iconfont.icon-icon-test-copy {
            color: #ff2832;
          }

          b {
            padding-left: 0.08rem;
            font-size: 0.426667rem;
            color: #3c3c3c;
          }
        }
      }

      .maylike-content {
        display: flex;
        list-style: none;
        flex-wrap: wrap;

        .content-list {
          display: flex;
          flex-direction: column;
          width: 50%;
          margin-bottom: 0.08rem;
          background-color: white;
          overflow: hidden;
          padding-bottom: 0.24rem;

          img {
            width: 4.933333rem;
            height: 4.933333rem;
          }

          .name {
            font-size: 0.373333rem;
            line-height: 0.48rem;
            height: 1.066667rem;
            color: #232323;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            text-overflow: ellipsis;
            word-break: break-all;
            padding: 0.16rem 0.16rem 0 0.16rem;
            margin-bottom: 0.08rem;
          }

          .content-list-title {
            overflow: hidden;
            height: 0.533333rem;
            padding: 0 0.133333rem;
            margin-top: 0.133333rem;
            display: flex;

            .label {
              border: 1px solid #f2303c;
              padding: 0 0.053333rem;
              padding-top: 1px;
              box-sizing: border-box;
              margin-right: 0.053333rem;
              color: #f2303c;
              border-radius: 0.053333rem;
            }
          }

          .money {
            height: 0.613333rem;
            margin: 0.133333rem 0 0 0.16rem;
            color: #e53e30;
            text-align: left;

            .left {
              font-size: 0.32rem;
              padding-right: 0.053333rem;
            }

            .right {
              font-size: 0.48rem;
              font-weight: bold;
            }
          }

          .detail {
            height: 0.853333rem;
            text-align: left;
            color: #b4b4b4;
            font-size: 0.266667rem;
            line-height: 0.426667rem;
            margin-left: 0.16rem;
          }
        }
      }
    }

    .cart-fixed-box-none {
      flex-direction: column;
      width: 1.226667rem;
      height: 1.226667rem;
      position: fixed;
      bottom: 2rem;
      right: 1rem;
      display: none;
      z-index: 99;
      background-color: pink;
      border-radius: 50%;
      border: 1px solid #bbb;

      .iconfont.icon-dingbu {
        display: block;
        text-align: center;
        line-height: 1.226667rem;
        font-size: 1.066667rem;
        color: #BBBEC3;
      }
    }

    .cart-fixed-box-block {
      flex-direction: column;
      width: 1.226667rem;
      height: 1.226667rem;
      position: fixed;
      bottom: 2rem;
      right: 1rem;
      display: block;
      z-index: 99;
      background-color: #eee;
      border-radius: 50%;
      border: 1px solid #bbb;

      .iconfont.icon-dingbu {
        display: block;
        text-align: center;
        line-height: 1.226667rem;
        font-size: 1.066667rem;
        color: #BBBEC3;
      }
    }
  }
}